import 'dart:convert';

import 'package:mziot/generated/json/base/json_field.dart';
import 'package:mziot/generated/json/circle_detail_entity.g.dart';

@JsonSerializable()
class CircleDetailEntity {
  int? id;
  String? mainTitle;
  String? subTitle;
  String? content;

  CircleDetailEntity();

  factory CircleDetailEntity.fromJson(Map<String, dynamic> json) =>
      $CircleDetailEntityFromJson(json);

  Map<String, dynamic> toJson() => $CircleDetailEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
